package com.example.dao.mapper;

import com.example.dao.domain.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {
    /**
     * 查询用户使用账号和密码
     * @param name
     * @param pwd
     * @return
     */
    UserEntity queryUserByNameAndPwd(@Param("name") String name, @Param("pwd") String pwd);
}
